package com.jml.泛型;

/**
 * @Author: J
 * @DATE: 2023-02-15 10:59
 */
public class Person {
    int gender;


    public static void main(String[] args) {
        String ss1 = new String("a") + new String("bc");
        String ss2 = new String("ab") + new String("c");
        System.out.println(ss1.intern() == ss2.intern());
    }
}
